package ru.osu.acm.common.entities;

import ru.osu.acm.testing.Utils;

/**
 * User: aleksey
 * Date: Sep 18, 2009
 * Time: 11:57:07 PM
 */
public class Checker {
    public static final int DEFAULT_CHECKER = 1;

    private int id;
    private String source;

    public Checker(int id, String source) {
        this.id = id;
        this.source = source;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getFilename() {
        return Utils.getJavaClassName(this.getSource());
    }
}
